Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add evaluation tests for import.defer with sync/async modules #4375

Merged
merged 2 commits into from
Feb 4, 2025

Conversation

nicolo-ribaudo
Copy link
Member

This is the last part of #4215 :)

Except for the test in the sync folder, the others are adaptations of the ones in https://github.com/tc39/test262/blob/main/test/language/import/import-defer/evaluation-top-level-await

@nicolo-ribaudo nicolo-ribaudo requested a review from a team as a code owner January 10, 2025 18:00
@nicolo-ribaudo nicolo-ribaudo mentioned this pull request Jan 10, 2025
38 tasks
@nicolo-ribaudo nicolo-ribaudo linked an issue Jan 10, 2025 that may be closed by this pull request
38 tasks
@nicolo-ribaudo nicolo-ribaudo force-pushed the import-defer-dynamic-evaluation branch from 0badbd8 to 2c1404e Compare January 24, 2025 10:49
Copy link
Contributor

@ptomato ptomato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment, though I might be misunderstanding why that's there.

@takikawa
Copy link
Contributor

I tested these in the WebKit prototype and two of the tests found a bug in the implementation related to the async evaluation behavior. After fixing that bug, the tests pass on the prototype. LGTM modulo ptomato's comment above.

@nicolo-ribaudo
Copy link
Member Author

Fixed!

Copy link
Contributor

@ptomato ptomato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@ptomato ptomato force-pushed the import-defer-dynamic-evaluation branch from 45f3309 to 6bc9dc1 Compare February 4, 2025 19:38
@ptomato ptomato merged commit bc5c141 into tc39:main Feb 4, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

import defer testing plan
3 participants